<%@page_title='Escribiendo mensaje'%>
<%= render :partial=>'mailmenu' %>
<% form_tag :action => 'enviar' do %>
	
	<label>A*:</label>
	<select name="msg[a][]" multiple="multiple">
		<%= options_from_collection_for_select(User.find(:all, :conditions=>"id<>#{current_user.id}",:order=>'login ASC'), "id", "login") %>
	</select><span class="field_error_msg"><%= flash[:a_missing]%></span>
	
	<p><label for="msg_asunto">Asunto</label><br/>
	<%=  text_field 'msg', 'asunto'  %></p>
	
	<p><label for="msg_texto">Texto</label><br/>
	<%=  text_area 'msg', 'texto', :class=>"widgEditor"  %></p>
	
	<%=  submit_tag "Enviar" %>
<% end %>